# ls = ['LLL','EEE','AAA', 'BBB', 'CCC', 'DDD']
# ls.reverse()
# ls.sort()
# print(ls)
# print(ls[9])
# for l in ls:
#   print(l)
# sum = 0
# for num in range(0,5):
#   sum = sum + num
# print(sum)

# r = list(range(0, 5))
# print(r)

# squares = []
# for num in range(1,10):
#   squares.append(num ** 2)
# print(squares)

# squares2 = [num **2 for num in range(1,10)]
# print(squares2)

# for num in range(1,21):
#   print(num)

# lists = list(range(1,1000001))
# print(max(lists))
# print(min(lists))
# print(sum(lists))

# lists = list(range(1,20,2))
# print(lists)

# lists = []

# for num in range(3,31):
#   if num % 3 == 0:
#     lists.append(num)

# lists = [num ** 3 for num in range(1,11)]
# print(lists)

# ls1 = ['AA','BB']
# ls2 = ls1
# ls1.append('SS')
# print(ls1)
# print(ls2)

ls = list(range(1,20,2))
print(ls)
print(ls[:])
print(ls[-2:])
print(ls[0:-2:2])




